Pod::Spec.new do |s|
  s.name         = "WeChatPay"
  s.version      = "0.0.1"
  s.summary      = "微信支付SDK."
  s.description  = <<-DESC
                    微信支付SDK.
                   DESC
  s.homepage     = "https://gitee.com/YIMaiMall/WeChatPay"
  s.license      = "MIT"
  s.author             = { "kevll" => "kevliule@gmail.com" }
  s.platform     = :ios, "8.0"
  s.source       = { :git => "https://gitee.com/YIMaiMall/WeChatPay.git", :tag => "#{s.version}" }
  s.subspec "WXSDK" do |wx|
    wx.public_header_files = 'WXSDK/*.h'
    wx.source_files = "WXSDK/*.{h,m}"
    wx.subspec "lib" do |l|
      l.source_files       = "WXSDK/lib/*.{h,mm}"
      l.vendored_libraries = 'WXSDK/lib/libWeChatPaySDK.a'
    end
  end
  s.frameworks   = "SystemConfiguration", "CoreTelephony", "QuartzCore"
  s.libraries    = "z", "sqlite3.0", "c++" 
  s.requires_arc = true
end
